#import <Flutter/Flutter.h>
#import "SuotaLib.h"
#import <CoreBluetooth/CoreBluetooth.h>
@interface SuotaPlugin : NSObject<FlutterPlugin,SuotaScannerDelegate,SuotaManagerDelegate,FlutterStreamHandler>

@property SuotaScanner* suotaScanner;
//当前连接的设备
@property CBPeripheral* peripheral;

@property SuotaManager* suotaManager;
//文件地址
@property(nonatomic,copy)NSString *filePath;
//手环名字
@property(nonatomic,copy)NSString *name;

//手环名字
@property(nonatomic,assign)BOOL ishaveDevice;

@property (nonatomic, strong) FlutterEventSink eventSink;
@property (nonatomic, strong) FlutterEventChannel *eventChannel;
@end
